objects = main.o add.o sub.o mul.o div.o

testmymath: $(objects)
	gcc $(objects) -o testmymath

main.o: main.c ../include/head.h
	gcc -c main.c -I../include

add.o: add.c ../include/head.h
	gcc -c add.c -I../include

sub.o: sub.c ../include/head.h
	gcc -c sub.c -I../include

mul.o: mul.o ../include/head.h
	gcc -c mul.c -I../include

div.o: div.c ../include/head.h
	gcc -c div.c -I../include

clean:
	rm testmymath $(objects)
